package net.zzy.pbbot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.io.File;

/**
 * @author jxygzzy
 */
@EnableAspectJAutoProxy
@SpringBootApplication
@EnableScheduling
public class SpringMiraiServerApplication {

    public static void main(String[] args) {
        String path = System.getProperty("user.dir") + File.separator + "image" ;
        File file = new File(path);
        if(!file.exists()){
            file.mkdir();
        }
        SpringApplication.run(SpringMiraiServerApplication.class, args);
    }

}
